#ifndef CCUISINERECIPE_H
#define CCUISINERECIPE_H

#include <QObject>
#include "cobject.h"

class CCuisineRecipe : public CObject
{
    Q_OBJECT
//    Q_PROPERTY(int id READ id)// WRITE setId NOTIFY idChanged)
    Q_PROPERTY(int cuisineId READ cuisineId WRITE setCuisineId NOTIFY cuisineIdChanged)
    Q_PROPERTY(int recipeId READ recipeId WRITE setRecipeId NOTIFY recipeIdChanged)
public:
    explicit CCuisineRecipe(QObject *parent = 0);
//    int id();
//    void setId(int id);

    int cuisineId();
    void setCuisineId(int cuisineId);

    int recipeId();
    void setRecipeId(int recipeId);
signals:
    void idChanged();
    void cuisineIdChanged();
    void recipeIdChanged();

public slots:
private:
//    int m_id;
    int m_cuisine_id;
    int m_recipe_id;

};

#endif // CCUISINERECIPE_H
